/*
package com.dubbo2.lib.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosValue;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import lombok.Data;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@NacosPropertySource(dataId = "ymlDataId", groupId = "yml", type = ConfigType.YAML, autoRefreshed = true)
public class NacosYmlConfig {

    @NacosValue(value = "${server.port}", autoRefreshed = true)
    private String port;

    @NacosValue(value = "${server.name}", autoRefreshed = true)
    private String sname;

}
*/
